Objects Reference

directX::join_game

Prototype

int join_game(LPGUID game_guid,char *player_name)

Parameters

Parameter Type Description
game_guid LPGUID game GUID to join
player_name char * player name

Return Value

Returns the DirectPlay player id if game join is OK, 0 if unable to join. 

Remarks

This function joins a multiplayer game. It must be called with one of the games enumerated by the enum_games function.